xbuscmd

Section: User Commands (1)
Updated: 11 December 1992
Index Return to Main Contents
 

NAME

xbuscmd - diagnostic program for the RAID project's XBUS board  

SYNOPSIS

xbuscmd [ options ]  

DESCRIPTION

xbuscmd provides a clean interface for functions provided by the RAID project's XBUS board (via its driver). These functions include controlling the XOR engine and HIPPI FIFOs on the board. Additionally, this command can reset the XBUS board and read or write individual board registers.  

OPTIONS

In general, xbuscmd can only be used to do one operation at a time. Thus, the user may chose to do an XOR or a HIPPI buffer request; she may not do both with a single invocation of the program.
-help
-?
Provide a list of valid options for the program.
-reset
Reset the xbus board. If the xbus board is really hung, it might be necessary to push the onboard reset switch first. xbuscmd must always be run with this option immediately after the pushbutton reset switch is used.
-debug on|off
Turn XBUS driver debugging ON or OFF.
-parity on|off
Turn on-board parity checking ON or OFF.
-vmeBoard boardNumber
Tell the XBUS board driver to lock the appropriate VME link device. This is necessary to prevent deadlocking for access over the VME link. The boardNumber should correspond to the VME link board configured to pass XBUS register reads and writes. If no board number has been set (or it's set to -1), no locking is done.
-device device
Act on XBUS device device. The default is /dev/xbus0.

-xorSize numBytes
-xorDest xbusDstAddr
-xorSrc xbusSrcAddr1 [ xbusSrcAddr2 ... ]

These options run an XOR operation on the XBUS board. All of the source buffers (of length numBytes) are XORed together into the destination buffer at xbusDstAddr. There can be no more than about 100 source buffers. All addresses are XBUS addresses; thus, they may start at 0.

-send
-recv
-bufAddr address
-bufSize numBytes

-send and -recv queue up a buffer for the XBUS to TMC bus and TMC bus to XBUS interfaces, respectively. The buffer is numBytes long and starts at XBUS address address.
 

FILES

/dev/xbus*     XBUS device.
 

AUTHORS

Ethan Miller (elm@cs)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
AUTHORS

This document was created by man2html, using the manual pages.
Time: 22:49:43 GMT, December 11, 2024